package com.tjbank.cssys.framework.base.dto;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

public class BaseDTO implements Serializable {

    /** ❤❤❤❤❤ */
    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        try {
            return this.getClass().getSimpleName() + " = " + JSON.toJSONString(this, SerializerFeature.WriteMapNullValue);
        } catch (Exception e) {
            return super.toString();
        }
    }
}
